find_package(Catch2 CONFIG REQUIRED)

add_executable(TestBase tst_baseobject.cpp)
target_link_libraries(TestBase PRIVATE Catch2::Catch2WithMain
EasyBrep::Base
)
add_test(NAME TestBase COMMAND TestBase WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})

add_executable(TestGeo 
tst_unique_id.cpp
tst_render_mode.cpp
)

target_link_libraries(TestGeo PRIVATE Catch2::Catch2WithMain
EasyBrep::Geo
EasyBrep::Base
)

add_test(NAME TestGeo COMMAND TestGeo WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})